All Questions
Tagged with stack-overflowmemory
2 questions
1vote
0answers
150views
Question on stack overflow
I am preparing for an exam in Computer Security and doing a past-exam without soluions, so I wanted to check if my reasoning holds on a question about stack overflow. Below is the C code in question. ...
2votes
2answers
368views
Can one prevent stack overflow by storing strings in memory backwards?
Normal use: ------(buffer)------ --(ret)--- DDDDDDDDEEEEEEEEEEEE EEEE FFFF 89ABCDEF0123456789AB CDEF 0123 this is a string\0 bff5 a400 Stack overflowed: ------(buffer)------ --(...